<script setup>
import FanAspectRatio from '..'

const onClick = () => alert('123')
</script>

<template>
	<demo-block title="基础用法" style="color: white">
		<FanAspectRatio :aspect-ratio="2" style="background:black;" @click="onClick">2:1</FanAspectRatio>
		<FanAspectRatio :aspect-ratio="1" style="background:blue;">1:1</FanAspectRatio>
	</demo-block>
</template>
